xen/arm: regs: Convert guest_mode to a static inline helper
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:12:54 +0000 (18:12 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:10 +0000 (10:14 -0800)
commitce4cd9ab7cef8c7ed01a719e8aadb9d091b2fd4b
tree2f0c4158e1c3c48dfcdffe551e8a0b37fe10580c
parent6ac3518ecc2040a19ad59cadeb1dad3ce9c47027
xen/arm: regs: Convert guest_mode to a static inline helper

At the same time, switch the parameter guest_mode from int to bool

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c
xen/include/asm-arm/regs.h